home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global gva, gvwinbpx, gvwinbpy, gvkauahondara
- dontPassEvent()
- if the visible of window "ägëÂ" then
- set gva to the rect of window "ägëÂ"
- set lvrectv to (getAt(gva, 4) - getAt(gva, 2)) / 2
- set lvrecth to (getAt(gva, 3) - getAt(gva, 1)) / 2
- if gvkauahondara = 1 then
- tell the stage
- spriteBox(46, gvwinbpx, gvwinbpy, gvwinbpx + lvrecth, gvwinbpy + lvrectv)
- updateStage()
- end tell
- set gvkauahondara to 0
- end if
- set lvmuh to the mouseH
- set lvmuv to the mouseV
- set lvhelpp to the drawRect of window "ägëÂ"
- if (lvmuh > abs(getAt(lvhelpp, 1))) and (lvmuh < (abs(getAt(lvhelpp, 1)) + (lvrecth * 2))) and (lvmuv > abs(getAt(lvhelpp, 2))) and (lvmuv < (abs(getAt(lvhelpp, 2)) + (lvrectv * 2))) then
- helphyoujikakudai("on")
- else
- helphyoujikakudai("Off")
- end if
- else
- helphyoujikakudai("Off")
- end if
- go("KAKUDAI")
- end
-